package managedbean.FRM.SupplierInvoice;

import entity.FRM.SupplierInvoice;
import java.io.Serializable;
import java.util.List;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import session.stateless.FRM.SupplierInvoiceBeanLocal;

@ManagedBean(name="viewAllSupplierInvoicesManagerBean")
@ViewScoped

public class ViewAllSupplierInvoicesManagerBean implements Serializable {
    
    public ViewAllSupplierInvoicesManagerBean () {
    }
    
    @EJB
    private SupplierInvoiceBeanLocal supplierInvoiceBeanLocal;
    
    public List<SupplierInvoice> getSupplierInvoices() {
        return supplierInvoiceBeanLocal.getAllSupplierInvoices();
    }

}
